package com.yuanqunsoft.alimigration.service;

import java.util.List;

import com.yuanqunsoft.alimigration.dao.support.Page;
import com.yuanqunsoft.alimigration.model.Module;

public interface IModuleService {

    public boolean addModule(Module instance);

    public boolean renameReport(String name, Integer modId);

    public boolean deleteModule(Module instance);

    public boolean updateModule(Module instance);

    public boolean deleteByApplicatoinId(Integer appId);

    public List<Module> findByApplicationId(Integer appId);

    public Module findById(Integer id);
    
    public boolean deleteFileById(Integer id);
}
